#ifndef BOUNDINGBOX_H
#define BOUNDINGBOX_H

#include "Defines.h"
#include "rendertypes.h"
//#include <d3dx9.h>


struct D3DXMATRIX;

namespace ns{
	class Mesh;

	class ENGINE_API BoundingBox{
	private:
		float minX,minY,minZ;
		float maxX,maxY,maxZ;

		ColorVertex* boundingVertices;

	public:
		BoundingBox(Mesh* mesh);
		ColorVertex* GetVertices();
		void UpdateBB(D3DXMATRIX m);
	};

}

#endif